package com.supemarket.dao;
import com.supemarket.entity.Member;
import com.supemarket.entity.admin;
import com.supemarket.entity.commodity;
import com.supemarket.entity.purchase;
import com.supemarket.entity.sale;
import com.supemarket.entity.staff;
import com.supemarket.entity.supplier;

public interface AddSupemarketDao {

	/**
	 * 添加管理员
	 * @param id
	 * @return
	 */
	public int adminadd(admin admin);
	
	/**
	 * 添加商品
	 * @param id
	 * @return
	 */
	public int commoditieadd(commodity comm);
	/**
	 * 添加购物卡
	 * @param id
	 * @return
	 */
	public int memberadd(Member member);
	/**
	 * 添加进货记录
	 * @param id
	 * @return
	 */
	public int purchaseadd(purchase purchase);
	/**
	 * 查询销售记录
	 * @return
	 */
	public int saleadd(sale sale );
	/**
	 * 添加员工信息
	 * @param id
	 * @return
	 */
	public int staffadd(staff staff);
	/**
	 * 添加供货商
	 * @param id
	 * @return
	 */
	public int supplieradd(supplier supplier);
}
